/***
 * * PROJECT
 * *    ATaG
 * * VERSION
 * *    $Revision: 1.2 $
 * * DATE
 * *    $Date: 2008/10/07 12:57:37 $
 * * LOG
 * *    $Log: CATaGEdge.java,v $
 * *    Revision 1.2  2008/10/07 12:57:37  animesh
 * *    removed GPL License [will re-add to all files later]
 * *
 * *    Revision 1.1  2007/06/01 20:53:19  animesh
 * *    bulk update.
 * *
 * *
 * *
 * *   ATaG (Abstract Task Graph) - Data-driven Macroprogramming for
 * *                                Sensor Networks
 * *
 ***/

package atag.compiler;

import atag.runtime.ln.LNScope;

/**
 * edge of the CATaG. Contains target task and edge label[scope]
 */
public class CATaGEdge{
    private CATaGNode destinationNode;
    private LNScope edgeScopeLabel;
    
    public CATaGEdge(CATaGNode destinationNode, LNScope edgeScopeLabel){
        this.destinationNode = destinationNode;
        this.edgeScopeLabel = edgeScopeLabel;
    }
    
    public CATaGNode getDestinationNode(){
        return this.destinationNode;
    }
    
    public LNScope getEdgeScopeLabel(){
        return this.edgeScopeLabel;
    }
    
}
